<include file="public:header" />

<script language="javascript" type="text/javascript" src="__ROOT__/scripts/jPlugin/chinaregion/jquery.chinaregion.js"></script>



<style>
table.form-table tbody th{
text-align: left;
}
</style>
<form action="{:U('user/edit')}" method="post" name="myform" id="myform" class="lkcmsform">

<table width="100%" cellpadding="2" cellspacing="1" class="form-table">
<tbody>

	<tr> 
      <th width="20%">{:L('订单流水ID编号')} :</th>
      <td>{$info.id}</td>
    </tr>
    
    <tr> 
      <th>{:L('报名时间')} :</th>
      <td>{$info.createDateTime}</td>
    </tr>
    
    <tr> 
      <th>{:L('订单号')} :</th>
      <td>{$info.user_no}</td>
    </tr>
    
    <tr> 
      <th>{:L('支付交易号')} :</th>
      <td>{$info.trade_no}</td>
    </tr>
    
    <tr> 
      <th>{:L('总金额')} :</th>
      <td>{$info.amount_total}</td>
    </tr>
    
    <tr> 
      <th>{:L('支付方式(0代表未定义，1代表支付宝，2代表微信，9代表线下支付)')} :</th>
      <td>{$info.payMode}</td>
    </tr>
    
    <tr> 
      <th>{:L('支付状态(0代表未支付，1代表已支付，2代表待确认)')} :</th>
      <td>{$info.isPay}</td>
    </tr>
    
    
    
    
    
    <tr> 
      <th>{:L('赛事')} :</th>
      <td>{$info.catalog_name}</td>
    </tr>
    
    
    <tr> 
      <th>{:L('站点')} :</th>
      <td>{$info.stage_name}</td>
    </tr>
    
    
    <tr> 
      <th>{:L('票类型(1代表单票，2代表通票)')} :</th>
      <td>{$info.ticket_type}</td>
    </tr>
    
    
    <tr> 
      <th>{:L('结构模式(1代表group模式，2代表race模式)')} :</th>
      <td>{$info.stru_id}</td>
    </tr>
    
    
    <tr> 
      <th>{:L('组别')} :</th>
      <td>{$info.group_name}</td>
    </tr>
    
    
    <tr> 
      <th>{:L('比赛')} :</th>
      <td>{$info.race_name}</td>
    </tr>
    
    
    
    
    
    
    
    <tr> 
      <th>{:L('参赛体制(1代表个人，2代表团队)')} :</th>
      <td>{$info.user_type}</td>
    </tr>
    
    
    <tr> 
      <th>{:L('个人姓名')} :</th>
      <td>{$info.m_realname}</td>
    </tr>
    
    
    <tr> 
      <th>{:L('个人手机')} :</th>
      <td>{$info.m_mobile}</td>
    </tr>
    
    
    <tr> 
      <th>{:L('个人性别')} :</th>
      <td>{$info.m_sex}</td>
    </tr>
    
    <tr> 
      <th>{:L('个人证件类型(1身份证，2护照，3港澳台)')} :</th>
      <td>{$info.m_id_type}</td>
    </tr>
    
    <tr> 
      <th>{:L('个人证件')} :</th>
      <td>{$info.m_id_number}</td>
    </tr>
    
    
    <tr> 
      <th>{:L('个人生日')} :</th>
      <td>{$info.m_birth_day}</td>
    </tr>
    
    
    <tr> 
      <th>{:L('个人省')} :</th>
      <td>{$info.m_province}</td>
    </tr>
    
    
    <tr> 
      <th>{:L('个人市')} :</th>
      <td>{$info.m_city}</td>
    </tr>
    
    
    <tr> 
      <th>{:L('个人区')} :</th>
      <td>{$info.m_district}</td>
    </tr>
    
    
    <tr> 
      <th>{:L('个人地址')} :</th>
      <td>{$info.m_address}</td>
    </tr>
    
    
    <tr> 
      <th>{:L('个人邮箱')} :</th>
      <td>{$info.m_email}</td>
    </tr>
    
    
    <tr> 
      <th>{:L('个人紧急联系人')} :</th>
      <td>{$info.m_ec_name}</td>
    </tr>
    
    
    <tr> 
      <th>{:L('个人紧急联系手机')} :</th>
      <td>{$info.m_ec_phone1}</td>
    </tr>
    
    
    
    
    
    
    
    
    <?php 
    if(!empty($user_team_list)){
    ?>
    
    <tr> 
      <th>{:L('参赛团队名')} :</th>
      <td>{$info.chedui_name_attend}</td>
    </tr>
    
    
    <tr> 
      <th>{:L('团队成员信息')} :</th>
      <td>&nbsp;</td>
    </tr>
    
    
    
    <tr> 
      <th>&nbsp;</th>
      <td>
      
      		<table width="90%" >
				<tfoot>
				<tr>
				<td style="buser-bottom: 0px solid #EEE;">成员姓名</td>
				<td style="buser-bottom: 0px solid #EEE;">成员性别</td>
				<td style="buser-bottom: 0px solid #EEE;">成员手机</td>
				<td style="buser-bottom: 0px solid #EEE;">成员证件类型(1身份证，2护照，3港澳台)</td>
				<td style="buser-bottom: 0px solid #EEE;">成员证件</td>
				<td style="buser-bottom: 0px solid #EEE;">成员生日</td>
				</tr>
				<?php
			    foreach ($user_team_list as $k=>$v) {
			    ?>
				<tr>
				<td style="buser-bottom: 0px solid #EEE;"><?php echo $v['t_realname'];?></td>
				<td style="buser-bottom: 0px solid #EEE;"><?php echo ($v['t_sex']==1)?'男':'女';?></td>
				<td style="buser-bottom: 0px solid #EEE;"><?php echo $v['t_mobile'];?></td>
				<td style="buser-bottom: 0px solid #EEE;"><?php echo $v['t_id_type'];?></td>
				<td style="buser-bottom: 0px solid #EEE;"><?php echo $v['t_id_number'];?></td>
				<td style="buser-bottom: 0px solid #EEE;"><?php echo $v['t_birth_day'];?></td>
				</tr>
				<?php
			    }
			    ?>
				</tfoot>
			</table>

      </td>
    </tr>
    <?php 
    }
    ?>
    
    
    <?php 
    if(!empty($user_product_list)){
    ?>
    
    <tr> 
      <th>{:L('商品信息')} :</th>
      <td>&nbsp;</td>
    </tr>
    
    
    <tr> 
      <th>&nbsp;</th>
      <td>
      
      		<table width="90%" >
				<tfoot>
				<tr>
				<td style="buser-bottom: 0px solid #EEE;">商品名</td>
				<td style="buser-bottom: 0px solid #EEE;">SKU名</td>
				<td style="buser-bottom: 0px solid #EEE;">SKU单价</td>
				<td style="buser-bottom: 0px solid #EEE;">数量</td>
				<td style="buser-bottom: 0px solid #EEE;">小计</td>

				</tr>
				<?php
			    foreach ($user_product_list as $k=>$v) {
			    ?>
				<tr>
				<td style="buser-bottom: 0px solid #EEE;"><?php echo $v['product_name'];?></td>
				<td style="buser-bottom: 0px solid #EEE;"><?php echo $v['sku_name'];?></td>
				<td style="buser-bottom: 0px solid #EEE;"><?php echo $v['price'];?></td>
				<td style="buser-bottom: 0px solid #EEE;"><?php echo $v['number'];?></td>
				<td style="buser-bottom: 0px solid #EEE;"><?php echo $v['price_sub'];?></td>

				</tr>
				<?php
			    }
			    ?>
				</tfoot>
			</table>

      </td>
    </tr>
    <?php 
    }
    ?>
    
    
    
    <tr> 
      <th>{:L('送货姓名')} :</th>
      <td>{$info.p_realname}</td>
    </tr>
    
    
    <tr> 
      <th>{:L('送货性别')} :</th>
      <td>{$info.p_sex}</td>
    </tr>
    
    
    <tr> 
      <th>{:L('送货手机')} :</th>
      <td>{$info.p_mobile}</td>
    </tr>
    
    
    <tr> 
      <th>{:L('送货省')} :</th>
      <td>{$info.p_province}</td>
    </tr>
    
    
    <tr> 
      <th>{:L('送货市')} :</th>
      <td>{$info.p_city}</td>
    </tr>
    
    
    <tr> 
      <th>{:L('送货区')} :</th>
      <td>{$info.p_district}</td>
    </tr>
    
    
    <tr> 
      <th>{:L('送货地址')} :</th>
      <td>{$info.p_address}</td>
    </tr>
    
    
    <tr> 
      <th>{:L('送货邮箱')} :</th>
      <td>{$info.p_email}</td>
    </tr>
    
    
    
    <!--
	<tr> 
      <th width="60">{:L('手机')} :</th>
      <td><input type="text" name="username" id="username" class="input-text" value="{$record.username}" size="25"></td>
    </tr>
	<tr> 
      <th width="60">{:L('密码')} :</th>
      <td><input type="text" name="password" id="password" class="input-text" value="" size="25" maxlength="100">({:L('留空则不修改')})</td>
    </tr>
    
    
    
    
    
    
    <tr> 
      <th width="60">{:L('姓名')} :</th>
      <td><input type="text" name="realname" id="realname" class="input-text" value="{$record.realname}" size="25"></td>
    </tr>
    
    
    <tr> 
      <th width="60">{:L('性别')} :</th>
      <td><input type="text" name="gender" id="gender" class="input-text" value="{$record.gender}" size="25"></td>
    </tr>
    
    
    
    <tr> 
      <th width="60">{:L('生日')} :</th>
      <td><input type="text" name="birthday" id="birthday" class="input-text" value="{$record.birthday}" size="25"></td>
    </tr>
    
    
    
    
    
    <tr> 
      <th width="60">{:L('地址')} :</th>
      <td><input type="text" name="address" id="address" class="input-text" value="{$record.address}" size="25"></td>
    </tr>
    
    
    
    
    
    <tr> 
      <th width="60">{:L('兴趣')} :</th>
      <td><input type="text" name="xingqu" id="xingqu" class="input-text" value="{$record.xingqu}" size="25"></td>
    </tr>
    
    
    
    
    
    <tr> 
      <th width="60">{:L('卡号')} :</th>
      <td><input type="text" name="kahao" id="kahao" class="input-text" value="{$record.kahao}" size="25"></td>
    </tr>
    
    
    
    <tr> 
      <th width="60">{:L('等级')} :</th>
      <td>
      		<input type="radio" name="level" class="radio_style" value="0" <if condition="$record.status eq '0'"> checked</if> /> &nbsp;{:L('普通')}&nbsp;&nbsp;&nbsp;
        	<input type="radio" name="level" class="radio_style" value="1" <if condition="$record.status eq '1'"> checked</if> /> &nbsp;{:L('VIP')}
      </td>
    </tr>
    
    -->
    
    
    <!--
	<tr> 
      <th width="60">{:L('昵称')} :</th>
      <td><input type="text" name="nickname" id="nickname" class="input-text" value="{$record.nickname}" size="25" maxlength="100"></td>
    </tr>
    <tr> 
      <th width="60">{:L('姓名')} :</th>
      <td><input type="text" name="realname" id="realname" class="input-text" value="{$record.realname}" size="25" maxlength="100"></td>
    </tr>


	<tr> 
      <th width="60">{:L('性别')} :</th>
      <td>
          <input type="radio" name="gender" class="radio_style" value="1" <if condition="$record.gender eq '1'">checked</if> /> &nbsp;{:L('男')}&nbsp;&nbsp;&nbsp;
          <input type="radio" name="gender" class="radio_style" value="2" <if condition="$record.gender neq '1'">checked</if>/> &nbsp;{:L('女')}
      </td>
    </tr>
    
    <tr> 
      <th width="60">{:L('出生年')}(如：1978):</th>
      <td><input type="text" name="birth_year" id="birth_year" class="input-text" value="{$record.birth_year}" size="25" maxlength="100"></td>
    </tr>
    
    
	<tr> 
      <th width="60">{:L('手机')} :</th>
      <td><input type="text" name="mobile" id="mobile" class="input-text" value="{$record.mobile}" size="25" maxlength="100"></td>
    </tr>
    
    
	<tr> 
      <th width="60">{:L('所处行业')} :</th>
      <td>

          <select name="hangye" id="hangye">
              <option value="">请选择...</option>
              <volist name="hangye_list" id="rec" >
                  <option  <if condition="$record.hangye eq $rec['title']">selected</if> value="{$rec['title']}">{$rec['title']}</option>
              </volist>
          </select>

      </td>
    </tr>

   <tr> 
      <th width="60">{:L('地址')} :</th>
      <td><input type="text" name="address" id="address" class="input-text" value="{$record.address}" size="25" maxlength="100"></td>
    </tr>

    <tr>
        <th width="60">{:L('同意接受邮件')} :</th>
        <td>
            <input type="radio" name="is_agree" class="radio_style" value="1" <if condition="$record.is_agree eq '1'">checked</if> /> &nbsp;{:L('是')}&nbsp;&nbsp;&nbsp;
            <input type="radio" name="is_agree" class="radio_style" value="0" <if condition="$record.is_agree neq '1'">checked</if> /> &nbsp;{:L('否')}
        </td>
    </tr>
	-->
	
	<!--
    <?php if($CurrAccount['Account-Role']=='administrator' || $CurrAccount['Account-Role']=='admin'){ ?>
    <tr>
      	<th>{:L('状态')} :</th>
      	<td>
      		<input type="radio" name="status" class="radio_style" value="1" <if condition="$record.status eq '1'"> checked</if> /> &nbsp;{:L('发布')}&nbsp;&nbsp;&nbsp;
        	<input type="radio" name="status" class="radio_style" value="0" <if condition="$record.status neq '1'"> checked</if> /> &nbsp;{:L('隐藏')}
      	</td>
    </tr>
    <?php }else{ ?>
    <tr>
      	<th>{:L('状态')} :</th>
      	<td>
      		<input type="hidden" name="status" value="0" /> 
      		<if condition="$record.status eq '1'">发布</if>
      		<if condition="$record.status neq '1'">隐藏</if>
      		&nbsp;&nbsp;（改动后，将变为隐藏）
      	</td>
    </tr>
    <?php } ?>
    -->
    
    
    
</tbody>
</table>
<input type="hidden" name="id" value="{$record.id}" />

<table width="100%" cellpadding="2" cellspacing="1" class="form-table">
	<tfoot>
	<tr><th>
	<td class="cell-action">
<!--<input type="submit" name="dosubmit" id="dosubmit" class="button" value="确定">-->
<input type="button" name="dosubmit" id="dosubmit" class="button" value="返回" onclick="javascript:history.back();">
	</th></tr>
	</tfoot>
</table>
</form>






<!--
<form id="lkform" name="lkform" action="" method="post" class="lkcmsform">

<table width="100%" cellpadding="2" cellspacing="1" class="form-table">
<tbody>
	
    
    
    <tr> 
      <th width="60">{:L('好友圈')} :</th>
      
       <td>
      
       &nbsp;&nbsp;共<?php
	    echo $userinfo_level_01_count;
	    ?>人
      
      &nbsp;&nbsp;&nbsp;&nbsp;
      <a href="{:U('user/edit_export_level_01', array('id'=>$record['id']))}" class="action" >{:L('导出')}</a>
      
      </td>
      
    </tr>
    
    
    <tr> 
      <th width="60"></th>
      <td>
      
      		<table width="40%" >
				<tfoot>
				<tr>
				<td style="buser-bottom: 0px solid #EEE;">用户id</td>
				<td style="buser-bottom: 0px solid #EEE;">手机</td>
				<td style="buser-bottom: 0px solid #EEE;">昵称</td>
				<td style="buser-bottom: 0px solid #EEE;">真实姓名</td>
				<td style="buser-bottom: 0px solid #EEE;">上层用户id</td>
				</tr>
				<?php
			    foreach ($userinfo_level_01 as $k=>$v) {
			    ?>
				<tr>
				<td style="buser-bottom: 0px solid #EEE;"><?php echo $v['id'];?></td>
				<td style="buser-bottom: 0px solid #EEE;"><?php echo $v['username'];?></td>
				<td style="buser-bottom: 0px solid #EEE;"><?php echo $v['nickname'];?></td>
				<td style="buser-bottom: 0px solid #EEE;"><?php echo $v['realname'];?></td>
				<td style="buser-bottom: 0px solid #EEE;"><?php echo $v['fuid'];?></td>
				</tr>
				<?php
			    }
			    ?>
				</tfoot>
			</table>


      
      </td>
    </tr>
    
    
    
     <tr> 
      <th width="60">{:L('朋友圈')} :</th>
      <td>
      
       &nbsp;&nbsp;共<?php
	    echo $userinfo_level_02_count;
	    ?>人
      
      &nbsp;&nbsp;&nbsp;&nbsp;
      <a href="{:U('user/edit_export_level_02', array('id'=>$record['id']))}" class="action" >{:L('导出')}</a>
      
      </td>
    </tr>
    
    
    
    
     <tr> 
      <th width="60"></th>
      <td>
      
      		<table width="40%" >
				<tfoot>
				<tr>
				<td style="buser-bottom: 0px solid #EEE;">用户id</td>
				<td style="buser-bottom: 0px solid #EEE;">手机</td>
				<td style="buser-bottom: 0px solid #EEE;">昵称</td>
				<td style="buser-bottom: 0px solid #EEE;">真实姓名</td>
				<td style="buser-bottom: 0px solid #EEE;">上层用户id</td>
				</tr>
				<?php
			    foreach ($userinfo_level_02 as $k=>$v) {
			    ?>
				<tr>
				<td style="buser-bottom: 0px solid #EEE;"><?php echo $v['id'];?></td>
				<td style="buser-bottom: 0px solid #EEE;"><?php echo $v['username'];?></td>
				<td style="buser-bottom: 0px solid #EEE;"><?php echo $v['nickname'];?></td>
				<td style="buser-bottom: 0px solid #EEE;"><?php echo $v['realname'];?></td>
				<td style="buser-bottom: 0px solid #EEE;"><?php echo $v['fuid'];?></td>
				</tr>
				<?php
			    }
			    ?>
				</tfoot>
			</table>


      
      
      </td>
    </tr>
    
    
    
    
    
    
     <tr> 
      <th width="60">{:L('人脉圈')} :</th>
      <td>
      
      &nbsp;&nbsp;共<?php
	    echo $userinfo_level_03_count;
	    ?>人
      
      &nbsp;&nbsp;&nbsp;&nbsp;
      <a href="{:U('user/edit_export_level_03', array('id'=>$record['id']))}" class="action" >{:L('导出')}</a>
      
      </td>
    </tr>
    
    
    
    
     <tr> 
      <th width="60"></th>
      <td>
      
      		<table width="40%" >
				<tfoot>
				<tr>
				<td style="buser-bottom: 0px solid #EEE;">用户id</td>
				<td style="buser-bottom: 0px solid #EEE;">手机</td>
				<td style="buser-bottom: 0px solid #EEE;">昵称</td>
				<td style="buser-bottom: 0px solid #EEE;">真实姓名</td>
				<td style="buser-bottom: 0px solid #EEE;">上层用户id</td>
				</tr>
				<?php
			    foreach ($userinfo_level_03 as $k=>$v) {
			    ?>
				<tr>
				<td style="buser-bottom: 0px solid #EEE;"><?php echo $v['id'];?></td>
				<td style="buser-bottom: 0px solid #EEE;"><?php echo $v['username'];?></td>
				<td style="buser-bottom: 0px solid #EEE;"><?php echo $v['nickname'];?></td>
				<td style="buser-bottom: 0px solid #EEE;"><?php echo $v['realname'];?></td>
				<td style="buser-bottom: 0px solid #EEE;"><?php echo $v['fuid'];?></td>
				</tr>
				<?php
			    }
			    ?>
				</tfoot>
			</table>


      
      
      </td>
    </tr>
    
    
    
    
</tbody>
</table>
</form>
-->







<script type="text/javascript">

    $(function(){
        var message_000 = "{:L('不能为空')}";
        $.formValidator.initConfig($.extend(true, {}, JPLUGIN_FORMVALIDATOR_CONFIG, {formID: 'myform'}));
        //$("#username").formValidator({onShow:message_000,onFocus:message_000}).inputValidator({min:1,onError:"请输入邮箱"}).regexValidator({regexp:"^([\\w-.]+)@(([[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}.)|(([\\w-]+.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(]?)$",onError:"您输入的邮箱格式不正确"});
        
        //$("#email").formValidator({onShow:message_000,onFocus:message_000}).inputValidator({min:1,onError:"请输入邮箱"}).regexValidator({regexp:"^([\\w-.]+)@(([[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}.)|(([\\w-]+.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(]?)$",onError:"您输入的邮箱格式不正确"});
        $("#username").formValidator({onShow:message_000,onFocus:message_000}).inputValidator({min:1,onError:"请输入手机"});
        //$("#prov").formValidator({onShow:message_000,onFocus:message_000}).inputValidator({min:1,onError:"请输入地区"});

    });

</script>


<script type="text/javascript">
//$("#city_3").ChinaRegionSelector({
//    	provValue:"湖南省", 
//    	cityValue:"长沙市"
//	});
</script>

<php>
echo '<script type="text/javascript">';
echo '$("#city_3").ChinaRegionSelector({';
echo 'provValue:"'.$record['prov'].'",';
echo 'cityValue:"'.$record['city'].'",';
echo '});';
echo '</script>';
</php>

<include file="public:footer" />
